Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

105852 add specs for upstream failures in appointment booking flow #21377

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

PhilipDeFraties
Copy link
Contributor

@PhilipDeFraties PhilipDeFraties commented Mar 21, 2025

Summary

  • This work is behind a feature toggle (flipper): YES/NO

This pull request reverts the use of a custom error class in the Eps::AppointmentService, which turned out to be interfering with the already present and abstracted error handling in the parent base service. I discovered the bug as I was adding unit tests for upstream failures which in turn verify that the appropriate response is propagated as interpreted from the existing error handling logic.

Related issue(s)

Testing done

  • New code is covered by unit tests

What areas of the site does it impact?

Error handling changes:

Test additions:

VCR cassette updates:

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

Requested Feedback

@va-vfs-bot va-vfs-bot temporarily deployed to 105852_upstream_failure_testing/main/main March 21, 2025 22:07 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 105852_upstream_failure_testing/main/main March 24, 2025 21:27 Inactive
@PhilipDeFraties PhilipDeFraties force-pushed the 105852_upstream_failure_testing branch from f436fde to 43f114d Compare March 25, 2025 01:35
@va-vfs-bot va-vfs-bot temporarily deployed to 105852_upstream_failure_testing/main/main March 25, 2025 01:37 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 105852_upstream_failure_testing/main/main March 25, 2025 15:02 Inactive
Copy link
Contributor

@carlosfelix2 carlosfelix2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes

@va-vfs-bot va-vfs-bot temporarily deployed to 105852_upstream_failure_testing/main/main March 27, 2025 20:34 Inactive
carlosfelix2
carlosfelix2 previously approved these changes Mar 28, 2025
@rmtolmach
Copy link
Contributor

@carlosfelix2 can you get yourself added to the GitHub Teams for your... team? Does that make sense? I see you're only only on two VA org teams, neither of which are associated with actual teams. Are you on https://github.com/orgs/department-of-veterans-affairs/teams/vfs-vaos? Message me on Slack if you have questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants